{% extends "xhs/layout.html" %}

{% block title %}服务器错误 - 学生成绩评价系统{% endblock %}

{% block content %}
<div class="container text-center py-5">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card shadow">
                <div class="card-body py-5">
                    <h1 class="display-1 text-danger">500</h1>
                    <h2 class="mb-4">服务器内部错误</h2>
                    <p class="lead mb-4">抱歉，服务器在处理您的请求时遇到了问题。</p>
                    <p class="text-muted mb-4">我们的技术团队已经收到此错误报告，正在努力修复中。</p>
                    <div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
                        <a href="/" class="btn btn-primary btn-lg px-4 gap-3">
                            <span data-feather="home"></span> 返回首页
                        </a>
                        <button class="btn btn-outline-secondary btn-lg px-4" onclick="window.history.back();">
                            <span data-feather="arrow-left"></span> 返回上一页
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %} 